<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@page import="com.boxin.ims.modules.momarketing.common.QRCodeUtils"%>
<%@page import="com.boxin.ims.modules.wechat.entity.SeckillGainer"%>
<html>
<head>
<title>秒杀成功</title>
<meta name="decorator" content="default" />
<meta name="full-screen" content="yes">
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">


<jsp:include page="/static/member/themes/default/header.jsp" />


</head>
<body>
	<div class="main">
		<div>
			<div>
				<div class="ztContent">
					<div class="c1">
						<div class="act_time">秒杀时间：<fmt:formatDate value="${config.startTime}" pattern="MM月dd日 HH:mm:ss"/>至<fmt:formatDate value="${config.endTime}" pattern="dd日 HH:mm:ss"/></div>
						<p>${config.notice }</p>
					</div>
				</div>

				<p></p>
				<p></p>
				<div class="ztContent">
					<div class="c3" align="center" style="background:White">
							<div class="cp">
								<div class="prizeBox fleft"  >
									<div class="prize" >
			
			
			
				<%
				SeckillGainer seckillGainer = (SeckillGainer) request.getAttribute("seckillGainer");
					    if(seckillGainer != null){
							Long qrcodeId = seckillGainer.getQrCode().getId();
					%>
					<img alt="" src="<%=QRCodeUtils.getQRCodePNGURL(qrcodeId)%>"  class="prizeImg">
					<%} %>
			
					
									
										<div class="prizeTxt">
											<div id="cjcontent${ seckill.id}" >
												<p class="prizeCount" >
													亲,恭喜您秒杀成功,请回复【我的秒杀】或在【会员中心】的【我的物品】里查看和获取二维码电子凭证并于有效期内到店内使用!
													<c:if test="${uid eq '34' }">
														恭喜您秒杀成功，您获得了<b>【${ seckill.name}】</b>，
													</c:if>
												</p>
											</div>
										</div>
									</div>
									<%  /*****
										<a class="btn btn-success"   id="download"  name="download"  href="${ctxUser }/seckill/${seckillGainer.createDayString }/${seckillGainer.qrCode.fileName}">下载保存</a>
									******/ %>
								</div>
							</div>
						</div>
				</div>
			</div>
			<p></p>
		</div>
	</div>
	<c:if test="${uid ne '34' }">
		<jsp:include page="/static/member/themes/default/footer.jsp">
			<jsp:param value="${uid }" name="uid"/>
		</jsp:include>
	</c:if>
</body>
</html>
